package com.rockcent.mall.lib.repository;

import com.rockcent.mall.lib.domain.MarketMerchantGiftPacket;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * Created by DK on 16/10/17.
 */
@Repository
public interface MarketMerchantGiftPacketRepository extends JpaRepository<MarketMerchantGiftPacket, Long>, JpaSpecificationExecutor {

    MarketMerchantGiftPacket findByPacketIdAndMerchantId(Long id, Long id1);
}
